package pers.yurwisher.rubick.common.user;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author yq 2021/4/22 14:10
 * @description CustomAccessToken 自定义请求凭证,参照oauth2
 */
@Data
public class CustomAccessToken implements Serializable {

    private static final long serialVersionUID = 8992046677621594464L;
    /**
     * 请求凭证
     */
    private String token;

    /**
     * 令牌作用域 对应服务
     */
    private List<String> scope;

    /**
     * 令牌类型
     */
    private String tokenType;

    /**
     * 刷新token
     */
    private String refreshToken;

}
